package com.sftz.assets.entities;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Comment;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

import com.uxuexi.core.common.util.DateTimeUtil;

@Data
@Table("wx_carousel")
public class WxCarouselEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	@Id(auto = true)
	private Integer id;

	@Column
	@Comment("图片名称")
	private String wxCarouselName;

	@Column
	@Comment("图片路径")
	private String wxImagePath;

	@Column
	@Comment("是否跳转（1，跳转，2不跳转）")
	private Integer wxIsJump;

	@Column
	@Comment("跳转路径（相对路径）")
	private String wxJumpUrl;

	@Column
	@Comment("是否展示（1，展示，2，不展示）")
	private Integer wxIsShow;

	@Column
	@Comment("排列顺序")
	private Integer wxOrd;

	@Column
	@Comment("背景色")
	private String wxBackgroundColor;

	@Column
	@Comment("创建时间")
	private Date wxCreateDate = DateTimeUtil.nowDate();

}